
public class bai2 {
	int servings =0;
	void feed (int servings){
		this.servings=this.servings + servings;
		System.out.println(servings);
	}
	// khi this no hiu servings la doi tuong cua class.
	void poop (){
		System.out.println(servings);
	}
	public static void main(String [] agrs)
	{
		bai2 o = new bai2();
		o.feed(1);
		o.poop();
	}
}
